﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NetWebControl.Models;

namespace NetWebControl.ControlTest.AP
{
    public partial class add : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            NetWebControl.Models.Users users =new Users();
            this.EntityModifyPanel1.Entity = users;

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            this.EntityModifyPanel1.AddEntityToDb();
        }
    }
}